using System.Drawing;

namespace AmazonBookLinker
{
  internal sealed class Book
  {
    [TemplateMacros( Tokens.BookAsin )]
    public string ASIN;

    [TemplateMacros( Tokens.BookTitle )]
    public string Title;

    [TemplateMacros( Tokens.BookAuthor )]
    public string Author;

    [TemplateMacros( Tokens.BookDescription )]
    public string Description;

    [TemplateMacros( Tokens.BookDetailsUrl )]
    public string DetailsUrl;

    [TemplateMacros(Tokens.BookRating)]
    public double Rating;

    [TemplateMacros( Tokens.BookPrice )]
    public string Price;

    [TemplateMacros(Tokens.BookPublicationDate)]
    public string PublicationDate;

    [TemplateMacros(Tokens.BookPublisher)]
    public string Publisher;

    [TemplateMacros(Tokens.BookNumberOfPages)]
    public string NumberOfPages;

    [TemplateMacros(Tokens.BookIsbn10)]
    public string ISBN10;

    [TemplateMacros(Tokens.BookIsbn13)]
    public string ISBN13;

    [TemplateMacros( Tokens.BookImageUrl )]
    public string SmallImageUrl;

    [TemplateMacros( Tokens.BookImageUrl )]
    public string MediumImageUrl;

    [TemplateMacros( Tokens.BookImageUrl )]
    public string LargeImageUrl;

    public Image Image;


    public override string ToString()
    {
      return Title;
    }
  }
}